package org.teamswift.crow.rbac.dto;

import lombok.Data;
import org.teamswift.crow.rbac.enums.CrowRowPermissionLevel;
import org.teamswift.crow.rest.common.ICrowDto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class CrowAuthorizeDto implements ICrowDto {

    @NotNull
    private String permissionResource;

    @NotNull
    private String action;

    private CrowRowPermissionLevel rowPermissionLevel = CrowRowPermissionLevel.All;

}
